<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改SIM卡信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-carmessage-edit" th:object="${tbSimCarmessage}">
            <input name="simId" th:field="*{simId}" type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">SIM卡号：</label>
                <div class="col-sm-8">
                    <input name="simcarnumber" th:field="*{simcarnumber}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">ICCID：</label>
                <div class="col-sm-8">
                    <input name="simiCcid" th:field="*{simiCcid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">SIM卡状态：</label>
                <div class="col-sm-8">
                    <input name="simcardstate" th:field="*{simcardstate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">运营商：</label>
                <div class="col-sm-8">
                    <input name="simoperator" th:field="*{simoperator}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">绑定状态：</label>
                <div class="col-sm-8">
                    <input name="simbindingstate" th:field="*{simbindingstate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">车辆外键：</label>
                <div class="col-sm-8">
                    <input name="carId" th:field="*{carId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">车辆状态：</label>
                <div class="col-sm-8">
                    <input name="simcarstate" th:field="*{simcarstate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">终端编号，终端表外键：</label>
                <div class="col-sm-8">
                    <input name="spiId" th:field="*{spiId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">变更日志外键ID：</label>
                <div class="col-sm-8">
                    <input name="simlogId" th:field="*{simlogId}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/carmessage";
        $("#form-carmessage-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-carmessage-edit').serialize());
            }
        }
    </script>
</body>
</html>
